<?php

/**
 * photo actions.
 *
 * @package    sfwixet
 * @subpackage photo
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class searchBodyComponents extends sfComponents
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
  	$this->result = array();
	if(is_numeric($request->getParameter("id"))){
		$user = Doctrine::getTable("sfGuardUser")->find($request->getParameter("id"));
		if($user instanceof sfGuardUser)
		 	$this->result[] = $user->getAbstract();
	}
  }
  
  public function executeTitle(sfWebRequest $request)
  {
  	
  }
}
